<script setup>
import useCounterStore from "../stores/counter.js";
import counter from "../stores/counter.js";

let counterStore = useCounterStore();


</script>

<template>
<div>
  <h1>当前计数值：{{ counterStore.count }}</h1>
  <h1>当前奇偶值：{{ counterStore.oddOrEven }}</h1>
</div>
</template>

<style scoped>

</style>